package com.kun.rental.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kun.rental.entity.RentalType;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ikun
 * @since 2024-07-04
 */
public interface IRentalTypeService extends IService<RentalType> {


    /**
     * 分页查询
     * @param page
     * @param rentalType
     * @return
     */
    Page<RentalType> searchByPage(Page<RentalType> page, RentalType rentalType);

    /**
     * 删除
     * @param ids
     * @return
     */
    boolean delete(String ids);
}
